<g:javascript src="menu.js"/>
<link rel="stylesheet" href="${resource(dir:'css',file:'menu.css')}" />
<div id="menu">
    <ul class="menu">
        <!--BEGIN HOME-->
        <li>
      		<a class="parent" href="${createLinkTo(dir: '')}"><span><g:message code="tab.home.label" default="Home"/></span></a>
        </li>
        <!--END HOME-->

        <!--BEGIN SETUP-->
        <li>
        	<a href="#" onclick="javascript:none()" class="parent"><span><g:message code="tab.setting.label" default="Setting"/></span></a>
            <div>
            	<ul>
                    <li>
                       <g:render template="/admin/navigation/admin" /> 
                    </li>
                    <li>
                        <g:render template="/admin/navigation/shiro" />
                    </li>
                    <li>
                        <g:render template="/admin/navigation/business" />
                    </li>
				    <li>
                        <g:render template="/admin/navigation/product" />
                    </li>
            	</ul>
           	</div>
        </li>
        <!--END SETUP-->
        <!--begin market -->
        <li>
		    <g:render template="/admin/navigation/market" />
		</li>
        <!--end market-->

        <!--BEGIN SIGNOUT-->
        <li class="last">
            <a href="${createLink(controller: 'auth', action : 'signOut')}"><span><g:message code="tab.signout.label" default="Sign Out"/></span></a>
        </li>
        <!--END SIGNOUT-->

    </ul>
</div>
<script type="text/javascript">
$(document).ready(function() {
	$('a[href="http://apycom.com/"]').remove();
});
</script>
